﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
namespace Jemer.Domain.Entities
{
    //用户账户信息明细表
    public class UserAccount
    {

        /// <summary>
        /// AccountID
        /// </summary>
        [Key]
        [Required]
        [MaxLength(4)]
        public int AccountID { get; set; }

        /// <summary>
        /// UserID
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int UserID { get; set; }

        /// <summary>
        /// AccountValue
        /// </summary>

        [Required]
        [MaxLength(8)]
        public decimal AccountValue { get; set; }

        /// <summary>
        /// OptionType
        /// </summary>

        [Required]
        [MaxLength(50)]
        public string OptionType { get; set; }

        /// <summary>
        /// OptionDes
        /// </summary>

        [Required]
        [MaxLength(200)]
        public string OptionDes { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>

        [Required]
        [MaxLength(8)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// Remark
        /// </summary>


        [MaxLength(200)]
        public string Remark { get; set; }


    }
}

